package org.edu.modules.jxzy.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.modules.jxzy.config.ConfigConstant;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.edu.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 教材信息表
 * @Author: jeecg-boot
 * @Date:   2021-04-14
 * @Version: V1.0
 */
@Data
@TableName("ve_jw_jiaocai")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ve_jw_jiaocai对象", description="教材信息表")
public class JwJiaocai implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID，自增长*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID，自增长")
    private Integer id;
	/**教材代码*/
	@Excel(name = "教材代码", width = 15)
    @ApiModelProperty(value = "教材代码")
    private String jcdm;
	/**教材名称*/
	@Excel(name = "教材名称", width = 15)
    @ApiModelProperty(value = "教材名称")
    private String jcmc;
	/**教材类别*/
	@Excel(name = "教材类别", width = 15)
    @ApiModelProperty(value = "教材类别")
    private Integer jclb;
	/**出版号*/
	@Excel(name = "出版号", width = 15)
    @ApiModelProperty(value = "出版号")
    private String cbh;
	/**ISBN*/
	@Excel(name = "ISBN", width = 15)
    @ApiModelProperty(value = "ISBN")
    private String isbn;
	/**第一作者*/
	@Excel(name = "第一作者", width = 15)
    @ApiModelProperty(value = "第一作者")
    private String dyzz;
	/**其他作者*/
	@Excel(name = "其他作者", width = 15)
    @ApiModelProperty(value = "其他作者")
    private String qtzz;
	/**版次*/
	@Excel(name = "版次", width = 15)
    @ApiModelProperty(value = "版次")
    private String bc;
	/**印次*/
	@Excel(name = "印次", width = 15)
    @ApiModelProperty(value = "印次")
    private String yc;
	/**价格*/
	@Excel(name = "价格", width = 15)
    @ApiModelProperty(value = "价格")
    private BigDecimal jg;
	/**出版社*/
	@Excel(name = "出版社", width = 15)
    @ApiModelProperty(value = "出版社")
    private String cbs;
	/**出版时间*/
	@Excel(name = "出版时间", width = 15)
    @ApiModelProperty(value = "出版时间")
    private String publishtime;
	/**页数*/
	@Excel(name = "页数", width = 15)
    @ApiModelProperty(value = "页数")
    private Integer pages;
	/**字数*/
	@Excel(name = "字数", width = 15)
    @ApiModelProperty(value = "字数")
    private Integer words;
	/**开本*/
	@Excel(name = "开本", width = 15)
    @ApiModelProperty(value = "开本")
    private String folio;
	/**包装*/
	@Excel(name = "包装", width = 15)
    @ApiModelProperty(value = "包装")
    private String packaging;
	/**内容简介ID*/
	@Excel(name = "内容简介ID", width = 15)
    @ApiModelProperty(value = "内容简介ID")
    private Integer nrjjtid;


    /**内容简介*/
    @Excel(name = "内容简介", width = 15)
    @ApiModelProperty(value = "内容简介")
    private String nrjj;



	/**是否有练习册（1=有，0=没有）*/
	@Excel(name = "是否有练习册（1=有，0=没有）", width = 15)
    @ApiModelProperty(value = "是否有练习册（1=有，0=没有）")
    @Dict(dicCode = "have_workbook")
    private Integer sfylxc;
	/**是否有教参教辅（1=有，0=没有）*/
	@Excel(name = "是否有教参教辅（1=有，0=没有）", width = 15)
    @ApiModelProperty(value = "是否有教参教辅（1=有，0=没有）")
    @Dict(dicCode = "have_reference")
    private Integer sfyjcjf;
	/**状态（1=启用，0=禁用）*/
	@Excel(name = "状态（1=启用，0=禁用）", width = 15)
    @ApiModelProperty(value = "状态（1=启用，0=禁用）")
    @Dict(dicCode = "enable_state")
    private Integer status;
	/**是否删除（1=已删除，0=未删除）*/
	@Excel(name = "是否删除（1=已删除，0=未删除）", width = 15)
    @ApiModelProperty(value = "是否删除（1=已删除，0=未删除）")
    private Integer isdelete;
	/**创建人ID*/
	@Excel(name = "创建人ID", width = 15)
    @ApiModelProperty(value = "创建人ID")
    private Integer createuserid;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    private Integer createtime;
	/**教材适应课程（一个教材适用于一门课程，一门课程有多个教材）*/
	@Excel(name = "教材适应课程（一个教材适用于一门课程，一门课程有多个教材）", width = 15)
    @ApiModelProperty(value = "教材适应课程（一个教材适用于一门课程，一门课程有多个教材）")
    @Dict(dictTable = ConfigConstant.dbName + "ve_jw_kecheng",dicCode = "id",dicText = "KCMC")
    private String kcid;


	@TableField(exist = false)
    private String kcids;

	/**终端ID*/
	@Excel(name = "终端ID", width = 15)
    @ApiModelProperty(value = "终端ID")
    private Integer terminalid;


	@TableField(exist = false)
    private JwKecheng kecheng;

    /**
     * 库存
     */
    @TableField(exist = false)
    private Integer number;
}
